<?php 

class Peliculas_model extends CI_Model {



    function __construct()
    {
        // Call the Model constructor
        parent::__construct();
    }
    function lista_peliculas() {
    	$query = $this->db->get('PELICULAS');
    	return $query;
    	
    }
}